<?php
class TRequiredEmail extends TTemplateControl{
	public function getEmail() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Email');
    }
	public function getValidator() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Validator');
    }
	public function setSkinID($value){
		$this->Email->SkinID= $value ;
		$this->Validator->SkinID = $value;
	}
	public function setValidationGroup($value){
		$this->Validator->ValidationGroup=$value;
		$this->Email->ValidationGroup=$value;
	}
}
?>